@echo off
echo refreshing packages:

::
echo Extend
pushd BclContrib-Extend
set SRC=..\..\System.CoreEx
xcopy %SRC%\Changelog.txt . /Y/Q
xcopy %SRC%\bin\Release\System.CoreEx.dll lib\NET35\ /Y/Q
xcopy %SRC%\bin\Release\System.CoreEx.xml lib\NET35\ /Y/Q
xcopy %SRC%.4\bin\Release\System.CoreEx.dll lib\NET40\ /Y/Q
xcopy %SRC%.4\bin\Release\System.CoreEx.xml lib\NET40\ /Y/Q
set SRC=..\..\Contoso.CoreEx
xcopy %SRC%\bin\Release\Contoso.CoreEx.dll lib\NET35\ /Y/Q
xcopy %SRC%\bin\Release\Contoso.CoreEx.xml lib\NET35\ /Y/Q
xcopy %SRC%.4\bin\Release\Contoso.CoreEx.dll lib\NET40\ /Y/Q
xcopy %SRC%.4\bin\Release\Contoso.CoreEx.xml lib\NET40\ /Y/Q
set SRC=..\..\System.DataEx
xcopy %SRC%\bin\Release\System.DataEx.dll lib\NET35\ /Y/Q
xcopy %SRC%\bin\Release\System.DataEx.xml lib\NET35\ /Y/Q
xcopy %SRC%.4\bin\Release\System.DataEx.dll lib\NET40\ /Y/Q
xcopy %SRC%.4\bin\Release\System.DataEx.xml lib\NET40\ /Y/Q
set SRC=..\..\Contoso.DataEx
xcopy %SRC%\bin\Release\Contoso.DataEx.dll lib\NET35\ /Y/Q
xcopy %SRC%\bin\Release\Contoso.DataEx.xml lib\NET35\ /Y/Q
xcopy %SRC%.4\bin\Release\Contoso.DataEx.dll lib\NET40\ /Y/Q
xcopy %SRC%.4\bin\Release\Contoso.DataEx.xml lib\NET40\ /Y/Q
popd

pause